package il.ac.tau.cvws.scrabblesidekick.server.servlet.exception;

import il.ac.tau.cvws.scrabblesidekick.server.util.exception.ExceptionTypes;
import il.ac.tau.cvws.scrabblesidekick.server.util.exception.ScrabbleSidekickException;

public class CommException extends ScrabbleSidekickException
{
	private static final long serialVersionUID = 1L;
		
	public static String INVALID_REQUEST_PARAM = "Invalid request";
	
	public CommException(String msg, Throwable cause)
	{
		super(ExceptionTypes.COMMUNICATION, msg, cause);
	}
	
	public CommException(String msg)
	{
		this(msg, null);
	}
}
